<template>
    <van-swipe :autoplay="3000" lazy-render height="360" indicator-color="#999">
        <van-swipe-item v-for="image in images.bannerLists
" :key="image">
            <img :src="image.imgUrl" />
        </van-swipe-item>
    </van-swipe>
</template>

<script>
import { getDetailBanners } from '../api/goodsDetail'
export default {
    name: "",
    data() {
        return {
            images: []
        }
    },
    async created() {
        this.images = await getDetailBanners()
    },
    methods: {

    }

}
</script>

<style lang="less" scoped>
    img {
        width: 100%;
    }
</style>